var amount = 0;
if($age.value == 10)
	amount=$age.value*$mySalary.value;